package com.pb.alibabademo.service.base.impl;

import com.pb.alibabademo.repository.base.entity.TestDO;
import com.pb.alibabademo.repository.base.mapper.TestMapper;
import com.pb.alibabademo.service.base.ITestService;

import org.springframework.stereotype.Service;

import java.util.List;

import javax.annotation.Resource;

import lombok.extern.slf4j.Slf4j;

@Service
@Slf4j
public class TestServiceImpl implements ITestService {

    @Resource
    private TestMapper testMapper;

    @Override
    public TestDO getById(Integer id) {
        return testMapper.selectByPrimaryKey(id);
    }
}
